package xml;

import javax.xml.bind.annotation.XmlElementWrapper;
import cuShapes.*;

import javax.xml.bind.annotation.XmlElement;
import java.util.List;

public class ArrowListType {
	// produce a wrapper XML element around this collection
	@XmlElementWrapper(name = "arrows")
	// maps each member of this list to an XML element named appointment
	@XmlElement(name = "arrow")
	//private List<Appointment> appointments;
	private List<Arrow> arrows;
	
	public ArrowListType() {}

	public ArrowListType(List<Arrow> arrows) {
		this.arrows = arrows;
	}
	
    public List<Arrow> getArrows() {
        return arrows;
    }
}
